package com.amtf.datafile3;

import java.util.List;

public interface DataCatalog {

	public String getName();

	public void setName(String name);

	public int getDataTableCount();

	public List<DataTable> getDataTables() throws DataException;

	public DataTable getDataTable(int index);

	public DataTable getDataTable(String name) throws DataException;

	public DataTable dropDataTable(String name) throws DataException;

	public void setDataTableDefinition(DataTableDefinition definition) throws DataException;

	public DataTable createDataTable(String name, DataTableDefinition definition) throws DataException;

	public boolean isDataTableExists(String name);

	public void close();
}
